package com.monkeybrother.responsibility;

import java.io.File;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

/**
 * @Desc
 * @Author houruiyang
 * @Date 2021/8/9
 **/
public class Test {
//    public static void main(String[] args) {
//        FirstPassHandler firstPassHandler = new FirstPassHandler();
//        SecondPassHandler secondPassHandler = new SecondPassHandler();
//        ThirdPassHandler thirdPassHandler = new ThirdPassHandler();
//
//        firstPassHandler.setNext(secondPassHandler).setNext(secondPassHandler).setNext(thirdPassHandler);
//
//        firstPassHandler.handler();
//    }

    static class OOMObject {

    }

    public static void main(String[] args) {
//        String str1 = new StringBuilder("计算机").append("软件").toString();
//        System.out.println(str1.intern() == str1);
//
//
//        String str2 = new StringBuilder("ja").append("va").toString();
//        System.out.println(str2.intern() == str2);

        try (Scanner scanner = new Scanner(new File("C:\\Users\\houry\\Desktop\\128-128\\学习资料.txt"))) {
            System.out.println("11111");
        } catch (Exception e) {
            e.printStackTrace();
        }

    }


}
